package com.neuedu.qian.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.neuedu.qian.vo.PageData;
import org.springframework.stereotype.Service;
import com.neuedu.qian.entity.Student;
import com.neuedu.qian.service.IStudentService;
import com.neuedu.qian.mapper.StudentMapper;
@Service("studentService")
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements IStudentService {
    @Override
    public PageData<Student> queryPageList(int current, int size, String keyword, Student stu) {
        PageData<Student> page=new PageData<>();
        page.setCurrent(current);
        page.setSize(size);
        return getBaseMapper().queryPageList(keyword,stu,page);
    }
}